package per.kongtouxu.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;
import per.kongtouxu.domain.pojo.AdminLog;
import per.kongtouxu.domain.vo.V_AdminLog;

import java.util.List;

public interface AdminLogDao {
    //插入数据
    public Integer saveAdminLog(@Param("adminLog") AdminLog adminLog);
    //分页查询日志
    public List<V_AdminLog> findAdminLogByPage(@Param("startTime") String startTime,@Param("endTime") String endTime,@Param("rb") RowBounds rb);
    //查询分页数量
    public Integer findCountAdminLogByPage(@Param("startTime") String startTime,@Param("endTime") String endTime);
    //批量删除
    public Integer deleteSome(@Param("logIds") List<Integer> logIds);
}
